const {
    defineConfig
  } = require('@vue/cli-service')
  module.exports = defineConfig({
    transpileDependencies: true,
    devServer: {
      proxy: {
        '/api': {
          //目标服务器地址
          target: 'http://kumanxuan1.f3322.net:8881/cms',
          //地址重写
          pathRewrite: {
            '^/api': ''
          }
        }
      }
    }
  })